var assert = require('assert');
var should = require('should');
var util = require('util');
var _ = require('lodash');
var redPacketModel = require('../../app/models/redPacketModel');
var config = require('../config');

suite('测试redPacketModel', function () {
    suite('getById', function () {
        test('查询红包', function (done) {
            redPacketModel.getById(10002, function (err, model) {
                assert.equal(err == null, true);
                var red_packet_model = model;
                console.log('id:', red_packet_model.red_packet_id);
                done();
            });
        });
    });
});
